Cayenne User Documentation
Queries

Queries are Cayenne abstraction for communicating with an external data storage. Queries are Java objects that are generally independent from the SQL dialect used by the target database. Cayenne includes a number of standard queries in the org.apache.cayenne.query package. Many of them are only used internally. Here we describe the queries that can be useful in the application.

General Purpose Queries

Other Helpful Queries

Custom Queries

To extend standard Query functionality, users can create Custom Queries that implement org.apache.cayenne.query.Query interface.

.